<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>My Cloud Web System</title>
<link rel="stylesheet" href="include/css/zzsc.css">
</head>
<body>
<?php
session_start();
if(!empty($_SESSION['user']))
{
echo "<p align=right>" ;
echo "<font color=#ff0000 size=3><strong><big>" ;
echo "<br><a href='logout.php'>退出登录</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;" ;
echo "</big></strong></font></p>" ;
}
else
{
header('Location:login.php');
}
?>
<div class="mid w1073" style="margin-top:50px;">
<h2 class="mid w1000">NAS管理</h2>
<div class="pdList">
  <ul class="mid w1000">
	<li>
	  <div class="tmplS tmplS1">
		<div class="cover"></div>
		<div class="wrapS">
		  <p class="ttl">My Cloud
		  <p>
<?php
/*
echo "当前硬盘温度:";
$last_line = system("sudo hddtemp /dev/sda -n --numeric", $retval);
echo "℃，";
if ($last_line >= 70 ) {
    echo "<span style=\"color:#ff0000;\">危险</span>";
} elseif ($last_line <= 40 ) {
    echo "<span style=\"color:#00FF00;\">良好</span>";
} else {
    echo "<span style=\"color:#0000ff;\">正常</span>";
}
*/
?>
		  <p class="opt"><!--<a href="http://ziahamza.github.io/webui-aria2/" target="_blank" class="nlink btn btn3">重启</a>&nbsp;--><a href="/UI" target="_blank" class="btn btn3">后台UI</a>
		</div>
	  </div>
		  <li>
	  <div class="tmplS tmplS2">
		<div class="cover"></div>
		<div class="wrapS">
		  <p class="ttl">Aria2下载
		  <p>离线下载，2个Web管理
		  <p class="opt"><a href="http://ziahamza.github.io/webui-aria2/" target="_blank" class="nlink btn btn3">webui</a>&nbsp;<a href="http://www.wilf.cn/yaaw/" target="_blank" class="btn btn3">YAAW</a>
		</div>
	  </div>
		  <li>
	  <div class="tmplS tmplS3">
		<div class="cover"></div>
		<a href="http://192.168.5.199:9000" target="_blank">
		<div class="wrapS">
		  <p class="ttl">Twonky Server
		  <p>DLNA流媒体服务器设置
		  <p class="opt"><button class="btn btn3">立即使用</button>
		</div>
		</a>
	  </div>
	<li>
	  <div class="tmplS tmplS4">
		<div class="cover"></div>
		  <a href="/elFinder" target="_blank">
		  <div class="wrapS">
			<p class="ttl">WebFTP
			<p>管理共享目录，快速移动
			<p class="opt"><button class="btn btn3">立即使用</button>
		  </div>
		  </a>
		</div>
  </ul>
</div>
<h2 class="mid w1000">其他管理</h2>
<div class="pdList">
  <ul class="mid w1000">
	<li>
	  <div class="tmplS tmplS5">
		<a href="http://lixian.vip.xunlei.com/" target="_blank">
		<div class="wrapS"><div class="wrapC"></div></div>
		</a>
	  </div>
	<li>
	  <div class="tmplS tmplS6">
		<a href="http://lixian.qq.com/main.html" target="_blank">
		<div class="wrapS"><div class="wrapC"></div></div>
		</a>
	  </div>
	<li>
	  <div class="tmplS tmplS7">
		<a href="http://192.168.5.1" target="_blank">
		<div class="wrapS"><div class="wrapC"></div></div>
		</a>
	  </div>
	<li>
	  <div class="tmplS tmplS8">
		<div class="wrapS"><div class="wrapC"></div></div>
	  </div>
  </ul>
</div>
</div>
</div>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script>
  $(document).ready(function(){
    $('.tmplS').hover(function(){
      $(".cover", this).stop().animate({top:'156px', left:'0px'},{queue:false,duration:400})
      }, function() {
        $(".cover", this).stop().animate({top:'0px', left:'0px'},{queue:false,duration:400})
      })
  })
</script>
</body>
</html>